package com.kevin.command;

/**
 * 调用者
 *
 * @author kevin
 * @date 2025/8/15
 */
public class Invoker {

    private Command command;

    public void setCommand(Command command)
    {
        this.command = command;
    }

    public void call()
    {
        command.execute();
    }
}
